<div class="container d-gao-80">
</div>
<div class="container">
	<div class="row">
	    <div class="col-md-8">
			<div class="d-yuanjiao-10 d-kuan d-beijing-baise d-bianhua-20 d-gao-bianhua-600">
				<div class="d-kuan d-buhuanhang">
					<div class="d-yuanjiao-20 d-kuan d-jiacu d-wenzi-16">
						我的圈子
					</div>
					{if $member}
					<div class="d-quxian-0 d-yuanjiao-20 d-kuan-100 d-wenzi-youbian d-zitiyanse-hui d-jiacu d-wenzi-16">
						<a href="/index.php?s=member&app=quan&c=woquan&m=index">
							管理
						</a>
					</div>
					{/if}
				</div>
				<div class="d-kuan">
					<div class="row">
						<div class="col-md-2 col-xs-3 d-waigao-20">
							<div class="d-wenzi-juzhong d-yuanjiao-10 d-quxian-0">
								<a href="/index.php?s=quan&c=home&m=quanbu">
									<img src="{HOME_THEME_PATH}quan/img/jiaquan.svg" height="50px" width="50"/>
									<div class="d-wenzi-juzhong d-wenzi-12 d-waigao-10">选择圈子</div>
								</a>
							</div>
						</div>
						{if $member}
							{php $woquan='1_quan';}
							{table table=1_quan_cart uid=$member.id num=11 fstatus=1 return=t}
							{php $wo = \Phpcmf\Service::M()->db->table($woquan)->where('id', $t.cid)->get()->getRowArray();}
							<a href="{$wo.url}">
							<div class="col-md-2 col-xs-3 d-waigao-20">
								<div class="d-wenzi-juzhong d-yuanjiao-10">
									
									<img class="d-yuanjiao-20" src="{dr_thumb($wo.thumb)}" height="50px" width="50"/>
									<div class="d-wenzi-juzhong d-wenzi-12 d-waigao-10">
										{dr_strcut($wo.title, 8, '')}
									</div>
								</div>
							</div>
							</a>
							{/table}
						{/if}
					</div>
				</div>
			</div>
			
		</div>
		<div class="col-md-4 d-yincang">
			<div class="d-yuanjiao-10 d-kuan d-beijing-baise d-bianhua-20 d-gao-bianhua-600">
				<div class="d-kuan d-buhuanhang">
					<div class="d-yuanjiao-20 d-kuan d-jiacu d-wenzi-16">
						推荐圈子
					</div>
					
				</div>
				<div class="d-kuan">
					<div class="row">
						{module module=quan zt=1 flag=1 num=12}
						    <div class="col-md-3 col-xs-3 d-waigao-20 d-quxian">
								<a href="{$t.url}">
									<div class="d-wenzi-juzhong d-yuanjiao-10">
										<img class="d-yuanjiao-20" src="{dr_thumb($t.thumb)}" height="50px" width="50px"/>
										<div class="d-wenzi-juzhong d-wenzi-12 d-waigao-10">{dr_strcut($t['title'], 10, '')}</div>
									</div>
								</a>
						    </div>
						{/module}
						
						
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="container d-waigao-20 ">
	<div class="row d-xia-20">
	    <div class="col-md-8 ">
			<div class="d-yincang-pc d-kuan d-hanggao-50 d-yuanjiao-10 d-wenzi-juzhong d-quxian-0 d-xia-15 d-zitiyanse-bai" style="background-color: #448eff;">
				<a href="/index.php?s=member&app=quan&c=shenqing&m=add" class="d-jiacu d-wenzi-16">申请圈子</a>
			</div>
			<div class="d-yuanjiao-10 d-kuan d-beijing-baise d-bianhua-20 ">
				
				<!--div class="d-yuanjiao-20 d-kuan d-jiacu d-wenzi-16">
					圈子分类
				</div-->
				{category module=quan show=1 pid=0}
				
				<!--div class=" d-yuanjiao-20 d-kuan d-jiacu d-wenzi-16 d-zitiyanse-hui">
					{$t.name}
				</div-->
				{if $t.show == 1}
				
					{if $t.child}
						{category module=quan pid=$t.id show=1 return=t2}
						{if $t2.show == 1}
						<div class="d-waigao-20 d-yuanjiao-20 d-kuan d-jiacu d-wenzi-16 d-zitiyanse-hui">
							{$t2.name}
						</div>
						<div class="row d-quxian">
							{module module=quan zt=1 daquan=1 fstatus=1 order=displayorder_asc catid=$t2.id return=quan}
							<a href="{$quan.url}" class="">
							<div class="col-md-6 col-xs-12 d-waigao-20 d-div-zou  ">
								<div class="d-beijing-hei-f6 d-neikuang-10 d-yuanjiao-10">
									<div class=" d-yuanjiao-10 pull-left">
										<img class="d-yuanjiao-20" src="{dr_thumb($quan.thumb)}" height="50px" width="50"/>
									</div>
									<div class="d-zuo-10 pull-left">
										<a href="{$quan.url}" class="">
											<div class="d-jiacu d-wenzi-16 d-kuan">{dr_keyword_highlight($quan.title, $keyword)}</div>
											<div class="d-wenzi-14">
												<span>
													帖子
													{count action=table table=1_quan_form_son cid=$quan.id return=tiezi}
													{$tiezi_count}
												</span>
												<span class="d-zuo-20">
													用户: {$quan.joins}
												</span>
												{if $quan.fabu == '1' || $quan.uid == $member.id}
												<div class="d-chaochu-2 d-zitiyanse-hui-96 d-shang-10 d-yincang">
													{php $jianjie = dr_strcut($quan.description, 18);}
													<a onclick="javascript:dr_add_son_fabu_tiezi({$quan.id},'{$jianjie}','{$quan.title}');" class="d-zitiyanse-hui-96">
													{if $quantiezitu}<img src="{dr_thumb($quantiezitu)}" width="20" height="20" class="d-you-3">{else}<i class="bi bi-chat d-you-3"></i>{/if} {if $quantieziname} {$quantieziname}{else} 发帖子{/if}
													</a>
													<a  onclick="javascript:dr_add_son_fabu({$quan.id});" class=" d-zuo-10 d-zitiyanse-hui-96">
													{if $quanwenzhangtu}<img src="{dr_thumb($quanwenzhangtu)}" width="20" height="20" class="d-you-3">{else}<i class="bi bi-journal-text d-you-3"></i>{/if} {if $quanwenzhangname} {$quanwenzhangname}{else} 发文章{/if}
													</a>
												</div>
												{/if}
											</div>
										</a>
									</div>
									<div class="pull-right">
										<a href="{$quan.url}" class="d-kuan-50 pull-right">
										<div class="d-shang-10 d-xia-10 d-you-10 pull-right">
											<div class="d-shang-2 d-neikuang-5-10 d-beijing-hui d-yuanjiao-20 pull-right d-zitiyanse-hei"> 浏 览</div>
										</div>
										</a>
									</div>
									<div class="d-clear"></div>
								</div>
							</div>
							</a>
						
							{/module}
						</div>
						{/if}
						{/category}
					{/if}
					{/if}
				{/category}
				
			</div>
			
		</div>
		<div class="col-md-4 d-yincang">
			<div class="d-yuanjiao-10 d-kuan d-beijing-baise d-bianhua-10">
				<div class="d-kuan  d-hanggao-50 d-yuanjiao-10 d-wenzi-juzhong d-quxian-0 d-xia-15 d-zitiyanse-bai" style="background-color: #448eff;">
					<a href="/index.php?s=member&app=quan&c=shenqing&m=add" class="d-jiacu d-wenzi-16">申请圈子</a>
				</div>
				<div class="d-yuanjiao-20 d-kuan d-jiacu d-wenzi-16">
					圈子分类
				</div>
				<div class="d-kuan">
					<div class="d-kuan d-quxian d-jiacu ">
						<a href="/index.php?s=quan&c=home&m=quanbu" class="d-kuan  d-kuai d-hanggao-40 d-wenzi-16 ">
						    <span class="d-zuo-10">全部</span>
						</a>
					</div>
					{category module=MOD_DIR pc=1 a=1 pid=0}
						<div class="d-kuan d-quxian d-jiacu {if $catid && dr_in_array($catid, $t.catids)} gaoliangs activea jiacu{/if}">
							<a href="{$t.url}" class="d-kuan  d-kuai d-hanggao-40 d-wenzi-16 {if $catid && dr_in_array($catid, $t.catids)} d-jiacu{/if}">
							    <span class="d-zuo-10">{$t.name}</span>
							</a>
						</div>
						
					{/category}
				</div>
			</div>
		</div>
	</div>
</div>

<style>

</style>